//Cylinder.h
//Contains the class definition for the Cylinder Class

#include <iostream>
#include "Circle.h"

using namespace std;

#ifndef CYLINDER_H
#define CYLINDER_H

class Cylinder : public Circle
{
public:
	Cylinder(const float &, const float &, float = 0.0, float = 0.0);

	void setHeight(float);
	float getHeight() const;

	void setVol();
	float getCylVol() const;

	virtual float area()const;
	virtual float perimeter() const;
	virtual float volume() const;

	
private:
	float height;
	float C_volume;
};

#endif